import { createAPI, createFormAPI } from '@/utils/request'

export const insertPigTransferFattening = data => createFormAPI('/admin/pigTransferFattening', 'post', data)
export const deletePigTransferFattening = data => createAPI(`/admin/pigTransferFattening/${data.id}`, 'delete', data)
export const updatePigTransferFattening = data => createAPI('/admin/pigTransferFattening', 'put', data)
export const selectPigTransferFattening = data => createAPI('/admin/pigTransferFattening', 'get', data)
export const pigTransferFatteningNum=data =>createAPI('/admin/pigTransferFatteningNum',"get",data)
